package com.smz.dao;




import com.smz.entity.Functions;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FunctionsDAO {

    List<Functions> selectFunctionsByName(String username);

    List<Functions> selectAllFunctions();

    List<Functions> selectByRoleId(@Param("roleId")Integer id);

    List<Functions> selectAll();
     void insertFunction(Functions functions);
     void updateFunction(Functions functions);
     void deleteFunction(@Param("id")Integer id);
}
